<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/6/22
  Time: 12:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html; UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<html>
<head>
    <link rel="stylesheet" type="text/css" href="/resource/css/tender.css" />
    <link rel="stylesheet" type="text/css" href="/resource/css/news.css" />
</head>

<section class="service_list_met_65_5_55  text-xs-center " m-id="55">
    <div class="titlebox" style="margin-bottom: 10px">
        <div class="head">
            <h2 class="title">最新动态</h2>
            <p class="desc">News and Policy</p>
            <i></i>
        </div>
    </div>
    <div class="container news_index">
        <div style="display: flex;width: 100%">
            <div class="news_index_item">
                <h3 style="cursor: pointer" onclick="javascript: location.href='<%=path%>/service/'">招标信息</h3>
                <ul>
                    <c:forEach var="item" items="${zhaobiaoList}">
                        <li class="article_item">
                            <a href="<%=path%>/service/${item.id}">${item.title}</a>
                            <span>${fn:substring(item.createtime, 0, 10)}</span>
                        </li>
                    </c:forEach>
                </ul>
            </div>
            <div class="news_index_item">
                <h3 style="cursor: pointer" onclick="javascript: location.href='<%=path%>/article/'">行业新闻</h3>
                <ul>
                    <c:forEach var="item" items="${newsList}">
                        <li class="article_item">
                            <a href="<%=path%>/article/${item.id}">${item.title}</a>
                            <span>${fn:substring(item.createtime, 0, 10)}</span>
                        </li>
                    </c:forEach>
                </ul>
            </div>
            <div class="news_index_item">
                <h3 style="cursor: pointer" onclick="javascript: location.href='<%=path%>/law/'">政策法规</h3>
                <ul>
                    <c:forEach var="item" items="${lawList}">
                        <li class="article_item">
                            <a href="<%=path%>/law/${item.id}">${item.title}</a>
                            <span>${fn:substring(item.createtime, 0, 10)}</span>
                        </li>
                    </c:forEach>
                </ul>
            </div>
        </div>
    </div>
</section>

</html>
